package com.china08.yxyapi.entity.db.res;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 微课对应知识点，一个微课可以对应多个知识点。 冗余知识点的 前两级目录，将此数据进行冗余，更新知识点时，一起更新。
 * 
 * @author WangHuichao
 * 
 */
@Entity
@Table(name = "yxy_res_weike_know", catalog = "yxy_res")
public class YxyResWeikeKnow extends BaseEntity {

    private static final long serialVersionUID = 1742816820589512897L;

    /** 微课id */
    @Column(name = "weike_id", nullable = false)
    private String weikeId;

    /** 学段 */
    @Column(name = "stage", nullable = false)
    private String stage;

    /** 学科 */
    @Column(name = "weike_subject", nullable = false)
    private String weikeSubject;

    /** 主键:知识点ID */
    @Column(name = "know_id", length = 32)
    private Integer knowId;

    /** 知识点名称 */
    @Column(name = "know_name")
    private String knowName;

    /**
     * 知识点一级目录id
     */
    @Column(name = "know_one_level_id", length = 32)
    private String knowOneLevelId;

    /**
     * 知识点一级目录id
     */
    @Column(name = "know_one_level_name")
    private String knowOneLevelName;

    /**
     * 知识点二级目录id
     */
    @Column(name = "know_two_level_id", length = 32)
    private String knowTwoLevelId;

    /**
     * 知识点二级目录id
     */
    @Column(name = "know_two_level_name")
    private String knowTwoLevelName;

    @Column(name = "stage_name", nullable = false)
    private String stageName;

    @Column(name = "weike_subject_name", nullable = false)
    private String weikeSubjectName;

    // 1正常 0删除 2微课大赛
    @Column(name = "wei_ke_status", nullable = false)
    private Integer weiKeStatus = 1;

    public Integer getWeiKeStatus() {
        return weiKeStatus;
    }

    public void setWeiKeStatus(Integer weiKeStatus) {
        this.weiKeStatus = weiKeStatus;
    }

    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public Integer getKnowId() {
        return knowId;
    }

    public void setKnowId(Integer knowId) {
        this.knowId = knowId;
    }

    public String getKnowName() {
        return knowName;
    }

    public void setKnowName(String knowName) {
        this.knowName = knowName;
    }

    public String getWeikeId() {
        return weikeId;
    }

    public void setWeikeId(String weikeId) {
        this.weikeId = weikeId;
    }

    public String getKnowOneLevelId() {
        return knowOneLevelId;
    }

    public void setKnowOneLevelId(String knowOneLevelId) {
        this.knowOneLevelId = knowOneLevelId;
    }

    public String getKnowTwoLevelId() {
        return knowTwoLevelId;
    }

    public void setKnowTwoLevelId(String knowTwoLevelId) {
        this.knowTwoLevelId = knowTwoLevelId;
    }

    public String getKnowOneLevelName() {
        return knowOneLevelName;
    }

    public void setKnowOneLevelName(String knowOneLevelName) {
        this.knowOneLevelName = knowOneLevelName;
    }

    public String getKnowTwoLevelName() {
        return knowTwoLevelName;
    }

    public void setKnowTwoLevelName(String knowTwoLevelName) {
        this.knowTwoLevelName = knowTwoLevelName;
    }

    public String getWeikeSubject() {
        return weikeSubject;
    }

    public void setWeikeSubject(String weikeSubject) {
        this.weikeSubject = weikeSubject;
    }

    public String getWeikeSubjectName() {
        return weikeSubjectName;
    }

    public void setWeikeSubjectName(String weikeSubjectName) {
        this.weikeSubjectName = weikeSubjectName;
    }

}
